<?php

// 网站配置分类表

namespace app\console\model;

use think\Model;

class ConfigType extends Model
{
    // 配置项类型与配置项关联
    public function Config()
    {
        return $this->hasMany('Config', 'vargroup', 'id')->order('sun_config.create_time', 'asc');
    }
}